package com.senlingspace.system.mapper;

import java.util.List;

import com.senlingspace.system.domain.SlkjProjectTicketFare;
import org.apache.ibatis.annotations.Param;

/**
 * 项目_票价Mapper接口
 *
 * @author SenlingSpace
 * @date 2024-07-03
 */
@Deprecated
public interface SlkjProjectTicketFareMapper {
    /**
     * 查询项目_票价
     *
     * @param id 项目_票价主键
     * @return 项目_票价
     */
    public SlkjProjectTicketFare selectSlkjProjectTicketFareById(Long id);

    /**
     * 查询项目_票价列表
     *
     * @param slkjProjectTicketFare 项目_票价
     * @return 项目_票价集合
     */
    public List<SlkjProjectTicketFare> selectSlkjProjectTicketFareList(SlkjProjectTicketFare slkjProjectTicketFare);

    /**
     * 新增项目_票价
     *
     * @param slkjProjectTicketFare 项目_票价
     * @return 结果
     */
    public int insertSlkjProjectTicketFare(SlkjProjectTicketFare slkjProjectTicketFare);

    /**
     * 修改项目_票价
     *
     * @param slkjProjectTicketFare 项目_票价
     * @return 结果
     */
    public int updateSlkjProjectTicketFare(SlkjProjectTicketFare slkjProjectTicketFare);

    /**
     * 删除项目_票价
     *
     * @param id 项目_票价主键
     * @return 结果
     */
    public int deleteSlkjProjectTicketFareById(Long id);

    /**
     * 批量删除项目_票价
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSlkjProjectTicketFareByIds(Long[] ids);

    /**
     * 跟进项目ID更新项目定价数据
     *
     * @param projectTicketFare
     * @return
     */
    int updateProjectTicketFareByProjectId(SlkjProjectTicketFare projectTicketFare);

    /**
     * 批量新增项目定价数据
     *
     * @param data
     * @return
     */
    int batchInsertProjectTicketFare(@Param("data") List<SlkjProjectTicketFare> data);

    /**
     * 根据票类ID查询票价
     *
     * @param ids
     * @return {@link List }<{@link SlkjProjectTicketFare }>
     */
    List<SlkjProjectTicketFare> selectSlkjProjectTicketFareListByTicketCategoryIds(Long[] ids);

}
